﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Programmer : Father,IOther
    {
        public Programmer(string name,string zhiwei):base(name,zhiwei)
        {

        }

        public void programmer() 
        
        {
            Console.WriteLine("同时也是一位员工");

        
        }

        public void t1()
        {
            Console.WriteLine("也是个作家");
        }

        public void teacher()
        {
            Console.WriteLine("我是{0}，我的职位{1}",this.Name,this.Zhiwei);
        }

       
    }
}
